import http, { Response } from '@/utils/http';

export interface cardParams {
  id: string;
}

export default {
  async getCard(params: cardParams) {
    return await http.get(
      `${import.meta.env.VITE_SERVER_URL}${
        import.meta.env.VITE_APP_API_BASE_URL
      }/xmbz-system/orderCard/open/getCard`,
      params
    );
  },
};
